package com.star.system.enums;

import com.star.common.base.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 登陆用户类型枚举
 *
 * @author yangzj
 */
@AllArgsConstructor
@Getter
public enum UserType implements BaseEnum<Integer> {
    /**
     * 登陆用户类型
     */
    WEB(0, "web端", "web后台"),
    USER(1, "小程序用户端", "web用户"),
    MENTOR(2, "小程序导师端", "web导师"),
    ;

    private final Integer code;
    private final String name;
    private final String expand;


    @Override
    public String getTypeCode() {
        return "user_type";
    }

    @Override
    public String getTypeName() {
        return "登陆用户类型";
    }
}
